#ifndef __INCLUDE_OBJ_H__
#define __INCLUDE_OBJ_H__

#if !defined(__cplusplus)
#error C++ compiler required
#endif

#include <objbase.h>

class dmsoft
{
private:
    IDispatch * obj;

public:
    dmsoft();
    virtual ~dmsoft();

    virtual long SetRowGapNoDict(long row_gap);
    virtual long RightClick();
    virtual long FoobarSetFont(long hwnd,const TCHAR * font_name,long size,long flag);
    virtual long FoobarLock(long hwnd);
    virtual CString FindColorE(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long dir);
    virtual long UnBindWindow();
    virtual long Is64Bit();
    virtual CString GetProcessInfo(long pid);
    virtual CString GetDictInfo(const TCHAR * str,const TCHAR * font_name,long font_size,long flag);
    virtual long IsDisplayDead(long x1,long y1,long x2,long y2,long t);
    virtual long GetBindWindow();
    virtual long GetTime();
    virtual CString OcrInFile(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * color,double sim);
    virtual long MoveWindow(long hwnd,long x,long y);
    virtual long EnableMouseAccuracy(long en);
    virtual long SetExactOcr(long exact_ocr);
    virtual long FaqPost(const TCHAR * server,long handle,long request_type,long time_out);
    virtual long EnableKeypadMsg(long en);
    virtual CString FindStrFastS(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,long * x,long * y);
    virtual CString GetWindowProcessPath(long hwnd);
    virtual CString GetNetTime();
    virtual CString GetDict(long index,long font_index);
    virtual long FoobarTextRect(long hwnd,long x,long y,long w,long h);
    virtual long ExitOs(long tpe);
    virtual long FindMulColor(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual long WriteDataAddr(long hwnd,LONGLONG addr,const TCHAR * data);
    virtual long EnableKeypadPatch(long en);
    virtual long SetDisplayAcceler(long level);
    virtual CString FindIntEx(long hwnd,const TCHAR * addr_range,LONGLONG int_value_min,LONGLONG int_value_max,long tpe,long steps,long multi_thread,long mode);
    virtual long WriteDouble(long hwnd,const TCHAR * addr,double v);
    virtual long SendCommand(const TCHAR * cmd);
    virtual long ShowScrMsg(long x1,long y1,long x2,long y2,const TCHAR * msg,const TCHAR * color);
    virtual CString FindShapeE(long x1,long y1,long x2,long y2,const TCHAR * offset_color,double sim,long dir);
    virtual long FoobarClose(long hwnd);
    virtual long CheckFontSmooth();
    virtual long GetScreenDepth();
    virtual long FoobarStopGif(long hwnd,long x,long y,const TCHAR * pic_name);
    virtual long SetMouseSpeed(long speed);
    virtual CString FindFloat(long hwnd,const TCHAR * addr_range,float float_value_min,float float_value_max);
    virtual long WriteDoubleAddr(long hwnd,LONGLONG addr,double v);
    virtual long GetMouseSpeed();
    virtual long WriteData(long hwnd,const TCHAR * addr,const TCHAR * data);
    virtual long LockInput(long locks);
    virtual long SetMemoryFindResultToFile(const TCHAR * file_name);
    virtual long FoobarDrawPic(long hwnd,long x,long y,const TCHAR * pic,const TCHAR * trans_color);
    virtual long AsmClear();
    virtual long GetClientRect(long hwnd,long * x1,long * y1,long * x2,long * y2);
    virtual CString GetNetTimeByIp(const TCHAR * ip);
    virtual long EncodeFile(const TCHAR * file_name,const TCHAR * pwd);
    virtual CString ReadString(long hwnd,const TCHAR * addr,long tpe,long length);
    virtual CString EnumWindowSuper(const TCHAR * spec1,long flag1,long type1,const TCHAR * spec2,long flag2,long type2,long sort);
    virtual long DmGuard(long en,const TCHAR * tpe);
    virtual long FindShape(long x1,long y1,long x2,long y2,const TCHAR * offset_color,double sim,long dir,long * x,long * y);
    virtual CString MatchPicName(const TCHAR * pic_name);
    virtual long GetScreenWidth();
    virtual CString SelectFile();
    virtual long CopyFile(const TCHAR * src_file,const TCHAR * dst_file,long over);
    virtual long SetWordGapNoDict(long word_gap);
    virtual long Play(const TCHAR * file_name);
    virtual long GetID();
    virtual CString FindPicExS(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir);
    virtual CString SelectDirectory();
    virtual long LeftClick();
    virtual CString Ver();
    virtual long EnableFontSmooth();
    virtual long DisableScreenSave();
    virtual CString GetMachineCodeNoMac();
    virtual long CaptureGif(long x1,long y1,long x2,long y2,const TCHAR * file_name,long delay,long time);
    virtual long MoveFile(const TCHAR * src_file,const TCHAR * dst_file);
    virtual CString FaqSend(const TCHAR * server,long handle,long request_type,long time_out);
    virtual long CaptureJpg(long x1,long y1,long x2,long y2,const TCHAR * file_name,long quality);
    virtual CString FindPicMemE(long x1,long y1,long x2,long y2,const TCHAR * pic_info,const TCHAR * delta_color,double sim,long dir);
    virtual CString FindInt(long hwnd,const TCHAR * addr_range,LONGLONG int_value_min,LONGLONG int_value_max,long tpe);
    virtual long KeyPressStr(const TCHAR * key_str,long delay);
    virtual LONGLONG GetModuleBaseAddr(long hwnd,const TCHAR * module_name);
    virtual long KeyPress(long vk);
    virtual long MiddleClick();
    virtual CString GetAveHSV(long x1,long y1,long x2,long y2);
    virtual CString GetClipboard();
    virtual long SetWindowState(long hwnd,long flag);
    virtual long FoobarDrawLine(long hwnd,long x1,long y1,long x2,long y2,const TCHAR * color,long style,long width);
    virtual long EnableRealMouse(long en,long mousedelay,long mousestep);
    virtual long SetDictMem(long index,long addr,long size);
    virtual long EnableDisplayDebug(long enable_debug);
    virtual CString ReadIni(const TCHAR * section,const TCHAR * key,const TCHAR * file_name);
    virtual long GetNowDict();
    virtual CString FaqFetch();
    virtual long MoveR(long rx,long ry);
    virtual CString FindMultiColorE(long x1,long y1,long x2,long y2,const TCHAR * first_color,const TCHAR * offset_color,double sim,long dir);
    virtual long ForceUnBindWindow(long hwnd);
    virtual long ImageToBmp(const TCHAR * pic_name,const TCHAR * bmp_name);
    virtual long WheelUp();
    virtual long delay(long mis);
    virtual CString ReadStringAddr(long hwnd,LONGLONG addr,long tpe,long length);
    virtual long MoveTo(long x,long y);
    virtual double ReadDouble(long hwnd,const TCHAR * addr);
    virtual long RegNoMac(const TCHAR * code,const TCHAR * Ver);
    virtual long WriteIniPwd(const TCHAR * section,const TCHAR * key,const TCHAR * v,const TCHAR * file_name,const TCHAR * pwd);
    virtual CString GetPath();
    virtual long KeyDown(long vk);
    virtual long OpenProcess(long pid);
    virtual long EnableRealKeypad(long en);
    virtual long SetClientSize(long hwnd,long width,long height);
    virtual long ClientToScreen(long hwnd,long * x,long * y);
    virtual long AsmCall(long hwnd,long mode);
    virtual long DownCpu(long rate);
    virtual long FoobarSetTrans(long hwnd,long trans,const TCHAR * color,double sim);
    virtual long IsFileExist(const TCHAR * file_name);
    virtual long WriteStringAddr(long hwnd,LONGLONG addr,long tpe,const TCHAR * v);
    virtual long GetKeyState(long vk);
    virtual CString FindPicEx(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir);
    virtual long DisableCloseDisplayAndSleep();
    virtual long AsmAdd(const TCHAR * asm_ins);
    virtual long CreateFoobarEllipse(long hwnd,long x,long y,long w,long h);
    virtual CString FindStrWithFontE(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,const TCHAR * font_name,long font_size,long flag);
    virtual CString GetCommandLine(long hwnd);
    virtual CString GetDiskSerial();
    virtual long GetLastError();
    virtual long FoobarUpdate(long hwnd);
    virtual long GetFileLength(const TCHAR * file_name);
    virtual long SetAero(long en);
    virtual CString Assemble(const TCHAR * asm_code,long base_addr,long is_upper);
    virtual CString GetDisplayInfo();
    virtual long BindWindow(long hwnd,const TCHAR * display,const TCHAR * mouse,const TCHAR * keypad,long mode);
    virtual LONGLONG ReadIntAddr(long hwnd,LONGLONG addr,long tpe);
    virtual long SetMinRowGap(long row_gap);
    virtual long EnablePicCache(long en);
    virtual long SetMinColGap(long col_gap);
    virtual long EnableMouseSync(long en,long time_out);
    virtual long FindStr(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,long * x,long * y);
    virtual long LoadPicByte(long addr,long size,const TCHAR * name);
    virtual long DeleteIniPwd(const TCHAR * section,const TCHAR * key,const TCHAR * file_name,const TCHAR * pwd);
    virtual long GetSpecialWindow(long flag);
    virtual long FaqCaptureFromFile(long x1,long y1,long x2,long y2,const TCHAR * file_name,long quality);
    virtual long GetWindow(long hwnd,long flag);
    virtual long FindWindowSuper(const TCHAR * spec1,long flag1,long type1,const TCHAR * spec2,long flag2,long type2);
    virtual long InitCri();
    virtual long SetUAC(long uac);
    virtual CString FindPicMemEx(long x1,long y1,long x2,long y2,const TCHAR * pic_info,const TCHAR * delta_color,double sim,long dir);
    virtual CString BGR2RGB(const TCHAR * bgr_color);
    virtual long CreateFoobarRoundRect(long hwnd,long x,long y,long w,long h,long rw,long rh);
    virtual long EnableKeypadSync(long en,long time_out);
    virtual CString FindPicS(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir,long * x,long * y);
    virtual CString GetCursorShapeEx(long tpe);
    virtual CString GetWords(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual long WriteIni(const TCHAR * section,const TCHAR * key,const TCHAR * v,const TCHAR * file_name);
    virtual long DeleteFolder(const TCHAR * folder_name);
    virtual CString DoubleToData(double double_value);
    virtual long SetWordGap(long word_gap);
    virtual long SetWordLineHeightNoDict(long line_height);
    virtual CString GetWindowClass(long hwnd);
    virtual CString FindColorBlockEx(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long count,long width,long height);
    virtual long SetWindowText(long hwnd,const TCHAR * text);
    virtual long LeftDoubleClick();
    virtual long Int64ToInt32(LONGLONG v);
    virtual CString FindFloatEx(long hwnd,const TCHAR * addr_range,float float_value_min,float float_value_max,long steps,long multi_thread,long mode);
    virtual long FoobarUnlock(long hwnd);
    virtual long GetResultCount(const TCHAR * str);
    virtual long FindStrWithFont(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,const TCHAR * font_name,long font_size,long flag,long * x,long * y);
    virtual long SetEnumWindowDelay(long delay);
    virtual long Delays(long min_s,long max_s);
    virtual long BindWindowEx(long hwnd,const TCHAR * display,const TCHAR * mouse,const TCHAR * keypad,const TCHAR * public_desc,long mode);
    virtual long DeleteIni(const TCHAR * section,const TCHAR * key,const TCHAR * file_name);
    virtual long FoobarClearText(long hwnd);
    virtual long RunApp(const TCHAR * path,long mode);
    virtual CString AppendPicAddr(const TCHAR * pic_info,long addr,long size);
    virtual long SetMouseDelay(const TCHAR * tpe,long delay);
    virtual long FindColorBlock(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long count,long width,long height,long * x,long * y);
    virtual long FoobarSetSave(long hwnd,const TCHAR * file_name,long en,const TCHAR * header);
    virtual CString GetAveRGB(long x1,long y1,long x2,long y2);
    virtual long GetCursorPos(long * x,long * y);
    virtual long FaqIsPosted();
    virtual long LeaveCri();
    virtual long SendStringIme2(long hwnd,const TCHAR * str,long mode);
    virtual long CheckInputMethod(long hwnd,const TCHAR * id);
    virtual long GetWindowRect(long hwnd,long * x1,long * y1,long * x2,long * y2);
    virtual long FaqCaptureString(const TCHAR * str);
    virtual long FoobarFillRect(long hwnd,long x1,long y1,long x2,long y2,const TCHAR * color);
    virtual CString GetMac();
    virtual CString GetWindowTitle(long hwnd);
    virtual long CheckUAC();
    virtual long LeftDown();
    virtual long SendString(long hwnd,const TCHAR * str);
    virtual long IsBind(long hwnd);
    virtual long SetDictPwd(const TCHAR * pwd);
    virtual long StrStr(const TCHAR * s,const TCHAR * str);
    virtual long SaveDict(long index,const TCHAR * file_name);
    virtual long DisablePowerSave();
    virtual CString ExcludePos(const TCHAR * all_pos,long tpe,long x1,long y1,long x2,long y2);
    virtual long EnableGetColorByCapture(long en);
    virtual CString FindStrS(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,long * x,long * y);
    virtual long FoobarPrintText(long hwnd,const TCHAR * text,const TCHAR * color);
    virtual long FindWindowEx(long parent,const TCHAR * class_name,const TCHAR * title_name);
    virtual CString GetBasePath();
    virtual long SetWindowSize(long hwnd,long width,long height);
    virtual long EnableMouseMsg(long en);
    virtual long GetScreenData(long x1,long y1,long x2,long y2);
    virtual long WheelDown();
    virtual long DecodeFile(const TCHAR * file_name,const TCHAR * pwd);
    virtual long KeyDownChar(const TCHAR * key_str);
    virtual CString EnumWindow(long parent,const TCHAR * title,const TCHAR * class_name,long filter);
    virtual CString RGB2BGR(const TCHAR * rgb_color);
    virtual CString FindStrFastExS(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual CString FindStrWithFontEx(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,const TCHAR * font_name,long font_size,long flag);
    virtual long SetColGapNoDict(long col_gap);
    virtual long Reg(const TCHAR * code,const TCHAR * Ver);
    virtual long GetScreenDataBmp(long x1,long y1,long x2,long y2,long * data,long * size);
    virtual long FindWindowByProcessId(long process_id,const TCHAR * class_name,const TCHAR * title_name);
    virtual long FaqCancel();
    virtual long MoveDD(long dx,long dy);
    virtual long WriteIntAddr(long hwnd,LONGLONG addr,long tpe,LONGLONG v);
    virtual long FreePic(const TCHAR * pic_name);
    virtual long GetLocale();
    virtual long GetDmCount();
    virtual long FindColor(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long dir,long * x,long * y);
    virtual long SetExcludeRegion(long tpe,const TCHAR * info);
    virtual CString FloatToData(float float_value);
    virtual CString ReadDataAddr(long hwnd,LONGLONG addr,long length);
    virtual long FindMultiColor(long x1,long y1,long x2,long y2,const TCHAR * first_color,const TCHAR * offset_color,double sim,long dir,long * x,long * y);
    virtual long EnableShareDict(long en);
    virtual long SetExportDict(long index,const TCHAR * dict_name);
    virtual CString GetNetTimeSafe();
    virtual CString GetColorBGR(long x,long y);
    virtual long Stop(long id);
    virtual long GetResultPos(const TCHAR * str,long index,long * x,long * y);
    virtual long CreateFolder(const TCHAR * folder_name);
    virtual long FindInputMethod(const TCHAR * id);
    virtual long FindPic(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir,long * x,long * y);
    virtual CString EnumIniKey(const TCHAR * section,const TCHAR * file_name);
    virtual long Log(const TCHAR * info);
    virtual CString FindStrEx(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual CString EnumIniKeyPwd(const TCHAR * section,const TCHAR * file_name,const TCHAR * pwd);
    virtual CString EnumWindowByProcessId(long pid,const TCHAR * title,const TCHAR * class_name,long filter);
    virtual CString ReadFile(const TCHAR * file_name);
    virtual long SwitchBindWindow(long hwnd);
    virtual long GetMousePointWindow();
    virtual CString StringToData(const TCHAR * string_value,long tpe);
    virtual long GetColorNum(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual CString OcrEx(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual long EnableIme(long en);
    virtual long SetDisplayInput(const TCHAR * mode);
    virtual CString FindPicE(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir);
    virtual long GetWordResultPos(const TCHAR * str,long index,long * x,long * y);
    virtual CString FetchWord(long x1,long y1,long x2,long y2,const TCHAR * color,const TCHAR * word);
    virtual long GetForegroundFocus();
    virtual CString GetPicSize(const TCHAR * pic_name);
    virtual long SendPaste(long hwnd);
    virtual long ScreenToClient(long hwnd,long * x,long * y);
    virtual long UseDict(long index);
    virtual CString GetColorHSV(long x,long y);
    virtual long Capture(long x1,long y1,long x2,long y2,const TCHAR * file_name);
    virtual long GetPointWindow(long x,long y);
    virtual CString FindDataEx(long hwnd,const TCHAR * addr_range,const TCHAR * data,long steps,long multi_thread,long mode);
    virtual CString FindStrE(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual CString GetEnv(long index,const TCHAR * name);
    virtual long WriteFloatAddr(long hwnd,LONGLONG addr,float v);
    virtual long SetEnv(long index,const TCHAR * name,const TCHAR * value);
    virtual long SetKeypadDelay(const TCHAR * tpe,long delay);
    virtual CString FindStrFastEx(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual long CreateFoobarRect(long hwnd,long x,long y,long w,long h);
    virtual long CapturePre(const TCHAR * file_name);
    virtual long DeleteFile(const TCHAR * file_name);
    virtual long SetSimMode(long mode);
    virtual long FreeScreenData(long handle);
    virtual CString Md5(const TCHAR * str);
    virtual long ClearDict(long index);
    virtual long SetDict(long index,const TCHAR * dict_name);
    virtual CString FindColorEx(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long dir);
    virtual LONGLONG ReadInt(long hwnd,const TCHAR * addr,long tpe);
    virtual long FindWindow(const TCHAR * class_name,const TCHAR * title_name);
    virtual long GetDictCount(long index);
    virtual CString ReadIniPwd(const TCHAR * section,const TCHAR * key,const TCHAR * file_name,const TCHAR * pwd);
    virtual CString SortPosDistance(const TCHAR * all_pos,long tpe,long x,long y);
    virtual long ActiveInputMethod(long hwnd,const TCHAR * id);
    virtual long VirtualFreeEx(long hwnd,LONGLONG addr);
    virtual long EnableBind(long en);
    virtual long KeyPressChar(const TCHAR * key_str);
    virtual long SetLocale();
    virtual CString FindString(long hwnd,const TCHAR * addr_range,const TCHAR * string_value,long tpe);
    virtual long DelEnv(long index,const TCHAR * name);
    virtual CString GetDir(long tpe);
    virtual long LeftUp();
    virtual CString MoveToEx(long x,long y,long w,long h);
    virtual long FindStrFast(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,long * x,long * y);
    virtual CString ReadData(long hwnd,const TCHAR * addr,long length);
    virtual long FaqCapture(long x1,long y1,long x2,long y2,long quality,long delay,long time);
    virtual long SetClipboard(const TCHAR * data);
    virtual long RegEx(const TCHAR * code,const TCHAR * Ver,const TCHAR * ip);
    virtual float ReadFloatAddr(long hwnd,LONGLONG addr);
    virtual long MiddleUp();
    virtual CString FindNearestPos(const TCHAR * all_pos,long tpe,long x,long y);
    virtual long LockDisplay(long locks);
    virtual long TerminateProcess(long pid);
    virtual long GetWindowProcessId(long hwnd);
    virtual long WriteString(long hwnd,const TCHAR * addr,long tpe,const TCHAR * v);
    virtual long SetPicPwd(const TCHAR * pwd);
    virtual long EnterCri();
    virtual long SendString2(long hwnd,const TCHAR * str);
    virtual long FoobarTextLineGap(long hwnd,long gap);
    virtual long SetWordLineHeight(long line_height);
    virtual CString AsmCode(long base_addr);
    virtual long RightDown();
    virtual long FoobarStartGif(long hwnd,long x,long y,const TCHAR * pic_name,long repeat_limit,long delay);
    virtual long Beep(long fre,long delay);
    virtual CString FindDoubleEx(long hwnd,const TCHAR * addr_range,double double_value_min,double double_value_max,long steps,long multi_thread,long mode);
    virtual CString FindData(long hwnd,const TCHAR * addr_range,const TCHAR * data);
    virtual long SetDisplayDelay(long t);
    virtual CString FindShapeEx(long x1,long y1,long x2,long y2,const TCHAR * offset_color,double sim,long dir);
    virtual CString Ocr(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual CString OcrExOne(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual long GetScreenHeight();
    virtual CString GetWordResultStr(const TCHAR * str,long index);
    virtual CString GetCursorShape();
    virtual CString ReadFileData(const TCHAR * file_name,long start_pos,long end_pos);
    virtual long CreateFoobarCustom(long hwnd,long x,long y,const TCHAR * pic,const TCHAR * trans_color,double sim);
    virtual CString EnumProcess(const TCHAR * name);
    virtual CString GetCursorSpot();
    virtual CString FindStrFastE(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual CString EnumIniSection(const TCHAR * file_name);
    virtual long SendStringIme(const TCHAR * str);
    virtual long VirtualProtectEx(long hwnd,LONGLONG addr,long size,long tpe,long old_protect);
    virtual long RegExNoMac(const TCHAR * code,const TCHAR * Ver,const TCHAR * ip);
    virtual long FreeProcessMemory(long hwnd);
    virtual long GetOsType();
    virtual long GetForegroundWindow();
    virtual long SetWindowTransparent(long hwnd,long v);
    virtual CString EnumIniSectionPwd(const TCHAR * file_name,const TCHAR * pwd);
    virtual CString IntToData(LONGLONG int_value,long tpe);
    virtual long FoobarTextPrintDir(long hwnd,long dir);
    virtual long LockMouseRect(long x1,long y1,long x2,long y2);
    virtual long GetClientSize(long hwnd,long * width,long * height);
    virtual long SetScreen(long width,long height,long depth);
    virtual CString FindStrExS(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual long CapturePng(long x1,long y1,long x2,long y2,const TCHAR * file_name);
    virtual CString GetWordsNoDict(long x1,long y1,long x2,long y2,const TCHAR * color);
    virtual long LoadPic(const TCHAR * pic_name);
    virtual long RightUp();
    virtual long WriteInt(long hwnd,const TCHAR * addr,long tpe,LONGLONG v);
    virtual long EnableSpeedDx(long en);
    virtual long FindWindowByProcess(const TCHAR * process_name,const TCHAR * class_name,const TCHAR * title_name);
    virtual long EnableFakeActive(long en);
    virtual long DownloadFile(const TCHAR * url,const TCHAR * save_file,long timeout);
    virtual CString FindStringEx(long hwnd,const TCHAR * addr_range,const TCHAR * string_value,long tpe,long steps,long multi_thread,long mode);
    virtual long WriteFile(const TCHAR * file_name,const TCHAR * content);
    virtual CString GetColor(long x,long y);
    virtual long FaqGetSize(long handle);
    virtual float ReadFloat(long hwnd,const TCHAR * addr);
    virtual long FindPicMem(long x1,long y1,long x2,long y2,const TCHAR * pic_info,const TCHAR * delta_color,double sim,long dir,long * x,long * y);
    virtual long KeyUp(long vk);
    virtual long SetMemoryHwndAsProcessId(long en);
    virtual long CmpColor(long x,long y,const TCHAR * color,double sim);
    virtual long AddDict(long index,const TCHAR * dict_info);
    virtual long KeyUpChar(const TCHAR * key_str);
    virtual long SetPath(const TCHAR * path);
    virtual long SetShowErrorMsg(long show);
    virtual CString FindDouble(long hwnd,const TCHAR * addr_range,double double_value_min,double double_value_max);
    virtual CString GetInfo(const TCHAR * cmd,const TCHAR * param);
    virtual CString EnumWindowByProcess(const TCHAR * process_name,const TCHAR * title,const TCHAR * class_name,long filter);
    virtual long GetWindowState(long hwnd,long flag);
    virtual CString GetMachineCode();
    virtual long DisableFontSmooth();
    virtual long FaqRelease(long handle);
    virtual LONGLONG VirtualAllocEx(long hwnd,LONGLONG addr,long size,long tpe);
    virtual long FoobarDrawText(long hwnd,long x,long y,long w,long h,const TCHAR * text,const TCHAR * color,long align);
    virtual CString FindMultiColorEx(long x1,long y1,long x2,long y2,const TCHAR * first_color,const TCHAR * offset_color,double sim,long dir);
    virtual long MiddleDown();
    virtual long GetWordResultCount(const TCHAR * str);
    virtual long WriteFloat(long hwnd,const TCHAR * addr,float v);
    virtual double ReadDoubleAddr(long hwnd,LONGLONG addr);
    virtual long WaitKey(long key_code,long time_out);
};

#endif
